package wevil.spring.domainmysql;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

@Entity
@Table(name = "engine_cost", schema = "mysql", catalog = "")
public class engine_cost implements Serializable{
    @Id
    @Column(name = "engine_name")
    private String engine_name;
    @Id
    @Column(name = "device_type")
    private Integer device_type;
    @Id
    @Column(name = "cost_name")
    private String cost_name;
    @Basic
    @Column(name = "cost_value")
    private Float cost_value;
    @Basic
    @Column(name = "last_update")
    private Timestamp last_update;
    @Basic
    @Column(name = "comment")
    private String comment;

    public String getEngine_name() {
        return engine_name;
    }

    public void setEngine_name(String engine_name) {
        this.engine_name = engine_name;
    }

    public Integer getDevice_type() {
        return device_type;
    }

    public void setDevice_type(Integer device_type) {
        this.device_type = device_type;
    }

    public String getCost_name() {
        return cost_name;
    }

    public void setCost_name(String cost_name) {
        this.cost_name = cost_name;
    }

    public Float getCost_value() {
        return cost_value;
    }

    public void setCost_value(Float cost_value) {
        this.cost_value = cost_value;
    }

    public Timestamp getLast_update() {
        return last_update;
    }

    public void setLast_update(Timestamp last_update) {
        this.last_update = last_update;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
